package o.gwtp.editor.client;

import com.google.inject.Inject;
import com.gwtplatform.mvp.client.EventBus;
import com.gwtplatform.mvp.client.proxy.PlaceManagerImpl;
import com.gwtplatform.mvp.client.proxy.PlaceRequest;
import com.gwtplatform.mvp.client.proxy.TokenFormatter;

public class EditorPlaceManager extends PlaceManagerImpl {
  @Inject
  public EditorPlaceManager(EventBus eventBus,
      final TokenFormatter tokenFormatter) {
    super(eventBus, tokenFormatter);
  }

  @Override
  public void revealDefaultPlace() {
    revealPlace(new PlaceRequest("welcome"));
  }
}
